package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OnDutyReduceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OnDutyReduceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNull() {
            addCriterion("duty_day is null");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNotNull() {
            addCriterion("duty_day is not null");
            return (Criteria) this;
        }

        public Criteria andDutyDayEqualTo(String value) {
            addCriterion("duty_day =", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotEqualTo(String value) {
            addCriterion("duty_day <>", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThan(String value) {
            addCriterion("duty_day >", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThanOrEqualTo(String value) {
            addCriterion("duty_day >=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThan(String value) {
            addCriterion("duty_day <", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThanOrEqualTo(String value) {
            addCriterion("duty_day <=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLike(String value) {
            addCriterion("duty_day like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotLike(String value) {
            addCriterion("duty_day not like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayIn(List<String> values) {
            addCriterion("duty_day in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotIn(List<String> values) {
            addCriterion("duty_day not in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayBetween(String value1, String value2) {
            addCriterion("duty_day between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotBetween(String value1, String value2) {
            addCriterion("duty_day not between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIsNull() {
            addCriterion("white_day is null");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIsNotNull() {
            addCriterion("white_day is not null");
            return (Criteria) this;
        }

        public Criteria andWhiteDayEqualTo(String value) {
            addCriterion("white_day =", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotEqualTo(String value) {
            addCriterion("white_day <>", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayGreaterThan(String value) {
            addCriterion("white_day >", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayGreaterThanOrEqualTo(String value) {
            addCriterion("white_day >=", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLessThan(String value) {
            addCriterion("white_day <", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLessThanOrEqualTo(String value) {
            addCriterion("white_day <=", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLike(String value) {
            addCriterion("white_day like", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotLike(String value) {
            addCriterion("white_day not like", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIn(List<String> values) {
            addCriterion("white_day in", values, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotIn(List<String> values) {
            addCriterion("white_day not in", values, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayBetween(String value1, String value2) {
            addCriterion("white_day between", value1, value2, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotBetween(String value1, String value2) {
            addCriterion("white_day not between", value1, value2, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andBgIdIsNull() {
            addCriterion("bg_id is null");
            return (Criteria) this;
        }

        public Criteria andBgIdIsNotNull() {
            addCriterion("bg_id is not null");
            return (Criteria) this;
        }

        public Criteria andBgIdEqualTo(String value) {
            addCriterion("bg_id =", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdNotEqualTo(String value) {
            addCriterion("bg_id <>", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdGreaterThan(String value) {
            addCriterion("bg_id >", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdGreaterThanOrEqualTo(String value) {
            addCriterion("bg_id >=", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdLessThan(String value) {
            addCriterion("bg_id <", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdLessThanOrEqualTo(String value) {
            addCriterion("bg_id <=", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdLike(String value) {
            addCriterion("bg_id like", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdNotLike(String value) {
            addCriterion("bg_id not like", value, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdIn(List<String> values) {
            addCriterion("bg_id in", values, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdNotIn(List<String> values) {
            addCriterion("bg_id not in", values, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdBetween(String value1, String value2) {
            addCriterion("bg_id between", value1, value2, "bgId");
            return (Criteria) this;
        }

        public Criteria andBgIdNotBetween(String value1, String value2) {
            addCriterion("bg_id not between", value1, value2, "bgId");
            return (Criteria) this;
        }

        public Criteria andDeleteCountIsNull() {
            addCriterion("delete_count is null");
            return (Criteria) this;
        }

        public Criteria andDeleteCountIsNotNull() {
            addCriterion("delete_count is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteCountEqualTo(String value) {
            addCriterion("delete_count =", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountNotEqualTo(String value) {
            addCriterion("delete_count <>", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountGreaterThan(String value) {
            addCriterion("delete_count >", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountGreaterThanOrEqualTo(String value) {
            addCriterion("delete_count >=", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountLessThan(String value) {
            addCriterion("delete_count <", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountLessThanOrEqualTo(String value) {
            addCriterion("delete_count <=", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountLike(String value) {
            addCriterion("delete_count like", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountNotLike(String value) {
            addCriterion("delete_count not like", value, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountIn(List<String> values) {
            addCriterion("delete_count in", values, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountNotIn(List<String> values) {
            addCriterion("delete_count not in", values, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountBetween(String value1, String value2) {
            addCriterion("delete_count between", value1, value2, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andDeleteCountNotBetween(String value1, String value2) {
            addCriterion("delete_count not between", value1, value2, "deleteCount");
            return (Criteria) this;
        }

        public Criteria andUserNamesIsNull() {
            addCriterion("user_names is null");
            return (Criteria) this;
        }

        public Criteria andUserNamesIsNotNull() {
            addCriterion("user_names is not null");
            return (Criteria) this;
        }

        public Criteria andUserNamesEqualTo(String value) {
            addCriterion("user_names =", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesNotEqualTo(String value) {
            addCriterion("user_names <>", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesGreaterThan(String value) {
            addCriterion("user_names >", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesGreaterThanOrEqualTo(String value) {
            addCriterion("user_names >=", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesLessThan(String value) {
            addCriterion("user_names <", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesLessThanOrEqualTo(String value) {
            addCriterion("user_names <=", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesLike(String value) {
            addCriterion("user_names like", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesNotLike(String value) {
            addCriterion("user_names not like", value, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesIn(List<String> values) {
            addCriterion("user_names in", values, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesNotIn(List<String> values) {
            addCriterion("user_names not in", values, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesBetween(String value1, String value2) {
            addCriterion("user_names between", value1, value2, "userNames");
            return (Criteria) this;
        }

        public Criteria andUserNamesNotBetween(String value1, String value2) {
            addCriterion("user_names not between", value1, value2, "userNames");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusIsNull() {
            addCriterion("deduce_status is null");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusIsNotNull() {
            addCriterion("deduce_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusEqualTo(String value) {
            addCriterion("deduce_status =", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusNotEqualTo(String value) {
            addCriterion("deduce_status <>", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusGreaterThan(String value) {
            addCriterion("deduce_status >", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusGreaterThanOrEqualTo(String value) {
            addCriterion("deduce_status >=", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusLessThan(String value) {
            addCriterion("deduce_status <", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusLessThanOrEqualTo(String value) {
            addCriterion("deduce_status <=", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusLike(String value) {
            addCriterion("deduce_status like", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusNotLike(String value) {
            addCriterion("deduce_status not like", value, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusIn(List<String> values) {
            addCriterion("deduce_status in", values, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusNotIn(List<String> values) {
            addCriterion("deduce_status not in", values, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusBetween(String value1, String value2) {
            addCriterion("deduce_status between", value1, value2, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andDeduceStatusNotBetween(String value1, String value2) {
            addCriterion("deduce_status not between", value1, value2, "deduceStatus");
            return (Criteria) this;
        }

        public Criteria andApplyUserIsNull() {
            addCriterion("apply_user is null");
            return (Criteria) this;
        }

        public Criteria andApplyUserIsNotNull() {
            addCriterion("apply_user is not null");
            return (Criteria) this;
        }

        public Criteria andApplyUserEqualTo(String value) {
            addCriterion("apply_user =", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserNotEqualTo(String value) {
            addCriterion("apply_user <>", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserGreaterThan(String value) {
            addCriterion("apply_user >", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserGreaterThanOrEqualTo(String value) {
            addCriterion("apply_user >=", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserLessThan(String value) {
            addCriterion("apply_user <", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserLessThanOrEqualTo(String value) {
            addCriterion("apply_user <=", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserLike(String value) {
            addCriterion("apply_user like", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserNotLike(String value) {
            addCriterion("apply_user not like", value, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserIn(List<String> values) {
            addCriterion("apply_user in", values, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserNotIn(List<String> values) {
            addCriterion("apply_user not in", values, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserBetween(String value1, String value2) {
            addCriterion("apply_user between", value1, value2, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyUserNotBetween(String value1, String value2) {
            addCriterion("apply_user not between", value1, value2, "applyUser");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNull() {
            addCriterion("apply_time is null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNotNull() {
            addCriterion("apply_time is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeEqualTo(String value) {
            addCriterion("apply_time =", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotEqualTo(String value) {
            addCriterion("apply_time <>", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThan(String value) {
            addCriterion("apply_time >", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThanOrEqualTo(String value) {
            addCriterion("apply_time >=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThan(String value) {
            addCriterion("apply_time <", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThanOrEqualTo(String value) {
            addCriterion("apply_time <=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLike(String value) {
            addCriterion("apply_time like", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotLike(String value) {
            addCriterion("apply_time not like", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIn(List<String> values) {
            addCriterion("apply_time in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotIn(List<String> values) {
            addCriterion("apply_time not in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeBetween(String value1, String value2) {
            addCriterion("apply_time between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotBetween(String value1, String value2) {
            addCriterion("apply_time not between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andCheckUserIsNull() {
            addCriterion("check_user is null");
            return (Criteria) this;
        }

        public Criteria andCheckUserIsNotNull() {
            addCriterion("check_user is not null");
            return (Criteria) this;
        }

        public Criteria andCheckUserEqualTo(String value) {
            addCriterion("check_user =", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserNotEqualTo(String value) {
            addCriterion("check_user <>", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserGreaterThan(String value) {
            addCriterion("check_user >", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserGreaterThanOrEqualTo(String value) {
            addCriterion("check_user >=", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserLessThan(String value) {
            addCriterion("check_user <", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserLessThanOrEqualTo(String value) {
            addCriterion("check_user <=", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserLike(String value) {
            addCriterion("check_user like", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserNotLike(String value) {
            addCriterion("check_user not like", value, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserIn(List<String> values) {
            addCriterion("check_user in", values, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserNotIn(List<String> values) {
            addCriterion("check_user not in", values, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserBetween(String value1, String value2) {
            addCriterion("check_user between", value1, value2, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckUserNotBetween(String value1, String value2) {
            addCriterion("check_user not between", value1, value2, "checkUser");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNull() {
            addCriterion("check_time is null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIsNotNull() {
            addCriterion("check_time is not null");
            return (Criteria) this;
        }

        public Criteria andCheckTimeEqualTo(String value) {
            addCriterion("check_time =", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotEqualTo(String value) {
            addCriterion("check_time <>", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThan(String value) {
            addCriterion("check_time >", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeGreaterThanOrEqualTo(String value) {
            addCriterion("check_time >=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThan(String value) {
            addCriterion("check_time <", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLessThanOrEqualTo(String value) {
            addCriterion("check_time <=", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeLike(String value) {
            addCriterion("check_time like", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotLike(String value) {
            addCriterion("check_time not like", value, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeIn(List<String> values) {
            addCriterion("check_time in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotIn(List<String> values) {
            addCriterion("check_time not in", values, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeBetween(String value1, String value2) {
            addCriterion("check_time between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andCheckTimeNotBetween(String value1, String value2) {
            addCriterion("check_time not between", value1, value2, "checkTime");
            return (Criteria) this;
        }

        public Criteria andDeducePriceIsNull() {
            addCriterion("deduce_price is null");
            return (Criteria) this;
        }

        public Criteria andDeducePriceIsNotNull() {
            addCriterion("deduce_price is not null");
            return (Criteria) this;
        }

        public Criteria andDeducePriceEqualTo(String value) {
            addCriterion("deduce_price =", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceNotEqualTo(String value) {
            addCriterion("deduce_price <>", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceGreaterThan(String value) {
            addCriterion("deduce_price >", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceGreaterThanOrEqualTo(String value) {
            addCriterion("deduce_price >=", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceLessThan(String value) {
            addCriterion("deduce_price <", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceLessThanOrEqualTo(String value) {
            addCriterion("deduce_price <=", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceLike(String value) {
            addCriterion("deduce_price like", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceNotLike(String value) {
            addCriterion("deduce_price not like", value, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceIn(List<String> values) {
            addCriterion("deduce_price in", values, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceNotIn(List<String> values) {
            addCriterion("deduce_price not in", values, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceBetween(String value1, String value2) {
            addCriterion("deduce_price between", value1, value2, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andDeducePriceNotBetween(String value1, String value2) {
            addCriterion("deduce_price not between", value1, value2, "deducePrice");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}